package com.example.shardingjdbc.model;

import java.io.Serializable;
import java.util.Date;

public class OrderItem implements Serializable {
    private Long itemId;

    private Long orderId;

    private Long memberId;

    private String productName;

    private Long itemAccount;

    private Date createdDate;

    private static final long serialVersionUID = 1L;

    public Long getItemId() {
        return itemId;
    }

    public void setItemId(Long itemId) {
        this.itemId = itemId;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName == null ? null : productName.trim();
    }

    public Long getItemAccount() {
        return itemAccount;
    }

    public void setItemAccount(Long itemAccount) {
        this.itemAccount = itemAccount;
    }

    public Date getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(Date createdDate) {
        this.createdDate = createdDate;
    }
}